package com.xinnet.mms.webservice.custom;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;

@Path(value = "/custom")
public interface CustomInterface {
	
	@POST
	@Path("/add")
	@Produces(MediaType.APPLICATION_XML)
	public String addCustom(@Context HttpServletRequest request,
			@Context HttpServletResponse response,
			@FormParam("cname") String cname,
			@FormParam("phone") String phone,
			@FormParam("regionalId") String regionalId,
			@FormParam("productLabel") String productLabel,@FormParam("remark") String remark);
}
